package com.it.bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class Blue {
    @Autowired
    private ApplicationContext applicationContext;

    public boolean isMatch(ApplicationContext applicationContext) {
        return applicationContext == this.applicationContext;
    }



}

